package edu.njust.LabSystem.entity;


import java.sql.Date;

public class Experiment {

  private String id;
  private String name;
  private String classid;
  private boolean type;
  private String teacher;
  private Date appoint_date;
  private String lab;

  public Experiment(String id, String name, String classid, boolean type, String teacher, String lab, Date appoint_date) {
    this.id = id;
    this.name = name;
    this.classid = classid;
    this.type = type;
    this.teacher = teacher;
    this.appoint_date = appoint_date;
    this.lab=lab;
  }

  public Experiment(String id, String classid, String teacher) {
    this.id = id;
    this.classid = classid;
    this.teacher = teacher;
  }

  public Experiment() {
  }

  @Override
  public String toString() {
    return "Experiment{" +
            "id='" + id + '\'' +
            ", name='" + name + '\'' +
            ", classid='" + classid + '\'' +
            ", type=" + type +
            ", teacher='" + teacher + '\'' +
            ", appoint_date=" + appoint_date +
            '}';
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getClassid() {
    return classid;
  }

  public void setClassid(String classid) {
    this.classid = classid;
  }


  public boolean isOpen() {
    return type;
  }

  public void setType(boolean type) {
    this.type = type;
  }


  public String getTeacher() {
    return teacher;
  }

  public void setTeacher(String teacher) {
    this.teacher = teacher;
  }

  public boolean isType() {
    return type;
  }

  public java.sql.Date getAppoint_date() {
	    return appoint_date;
	  }

	  public void setAppoint_date(java.sql.Date appoint_date) {
	    this.appoint_date = appoint_date;
	  }
	  public String getLab() {
		    return lab;
		  }

	 public void setLab(String lab) {
		    this.lab = lab;
		  }
}
